<html>
<head>
    
    <title>jQuery DefaultValue Example</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="http://jquerydef.googlecode.com/hg/jquery.defaultvalue.js"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
	$(function () {
		$('#email').defaultValue('Input your e-mail here...', {'activeColor': '#00ff00', 'inactiveColor': '#ff00ff'});
		$('#site').defaultValue('http://example.com');
	});

    </script>
</head>
<body>
<form method="GET">
	<p>E-mail: <input type="text" name="email" id="email" /></p>
	<p>Site: <input type="text" name="site" id="site" /></p>	
	<p><input type="submit" value="Submit"></p>
</form>
</body>
</html>

